a = int(input())
print(f"{oct(a)},{hex(a)},{bin(a)}")